package com.zjeav.lingjiao.base.baseBean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * 本地收藏表
 */
@Table(name = "localMeta")
public class LocalMetadata {
    @Column(name="i",isId = true)
    private int i;
    /**
     * 音乐id
     */
    @Column(name = "id")
    private int id;

    /**
     * 书本id
     */
    @Column(name = "bookid")
    private int bookid;

    /**
     * 书本名称
     */
    @Column(name = "bookName")
    private String  bookName;

    /**
     * 音乐时长
     */
    @Column(name = "duration")
    private long duration;

    /**
     * 视频地址
     */
    @Column(name = "url")
    private String  url;

    /**
     * 封面图片地址
     */
    @Column(name = "cover")
    private String  cover;

    /**
     * 字幕地址
     */
    @Column(name = "srturl")
    private String  srturl;

    /**
     * 文件大小
     */
    @Column(name = "filesize")
    private String  filesize;

    /**
     * 标题
     */
    @Column(name = "title")
    private String  title;

    /**
     * 收藏时间
     */
    @Column(name = "favoritesTime")
    private String  favoritesTime;

    @Column(name = "isFavorites")
    private boolean  isFavorites;

    public boolean isFavorites() {
        return isFavorites;
    }

    public void setFavorites(boolean favorites) {
        isFavorites = favorites;
    }

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getSrturl() {
        return srturl;
    }

    public void setSrturl(String srturl) {
        this.srturl = srturl;
    }

    public String getFilesize() {
        return filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFavoritesTime() {
        return favoritesTime;
    }

    public void setFavoritesTime(String favoritesTime) {
        this.favoritesTime = favoritesTime;
    }
}
